package com;

import java.awt.Color;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;

public class Demo {
	public Demo() {
		ChessArray a=new ChessArray();
		a.addPropChangeListener(new PropertyChangeListener() {
			
			@Override
			public void propertyChange(PropertyChangeEvent evt) {
				System.out.println("xx");
				
			}
		});
		a.setChess(new Chess(1, 1, Color.white));
		a.chessStack.push(new Chess(1, 1, Color.white));
	}
	public static void main(String[] args) {
		new Demo();
	}

}
